from django.urls import path, include
from rest_framework.routers import DefaultRouter

from apps.steps.views import StepsViewSet

router = DefaultRouter()
router.register('', StepsViewSet, base_name='step')
app_name = 'step'


urlpatterns = [
    # api视图路由
    path('', include(router.urls), name='api'),

    ]
